package com.qinglei.recoup.hmp.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>description</p>
 *
 * @author shiyupeng
 * @date 2022/1/8
 */
@Data
@ApiModel(description = "小程序登录返回对象")
public class HmpUserVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("头像图片Url")
    private String avatar;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "状态 0=锁定,1=有效")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date modifyTime;

    @ApiModelProperty(value = "最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "性别 0=男,1=女,2=保密")
    private Integer ssex;

    @ApiModelProperty(value = "公众号OpenID")
    private String weixinOpenid;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "微信UnionID")
    private String unionid;

    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;
}
